#include "frienduserpage.h"
#include "ui_frienduserpage.h"

FriendUserPage::FriendUserPage(QWidget *parent)
    : QWidget(parent)
    , ui(new Ui::FriendUserPage)
{
    ui->setupUi(this);
}

FriendUserPage::~FriendUserPage()
{
    delete ui;
}
void FriendUserPage::setResult(UserModel *t){
    ui->listView->setModel(t);
    ui->listView->setItemDelegate(new UserItemDelegate(this));
}
